# coding:utf-8

def comp(l1, l2):
    if l1 - l2 > 0:
        return -1
    else:
        return 1


def test_insert():
    # 插入链表
    l1 = [1]
    l1.append(3)
    l1.insert(1, 2)
    print(l1)
    print("count: ", l1.count(1))
    # l1.sort(key=comp)
    print(l1)


if __name__ == '__main__':
    test_insert()
